package cn.wuxing.mediation.system.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.wuxing.mediation.common.annotation.Excel;
import cn.wuxing.mediation.common.core.domain.BaseEntity;

/**
 * 操作记录对象 cm_operating_record
 *
 * @author mediation
 * @date 2024-10-30
 */
public class CmOperatingRecordVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 操作记录ID */
    private Long id;

    /** 操作类型 1.案件登记 2.案件分派 3.现场调解 4.现场调解 5.转窗口 6.转窗口确认 7.召回 9.案件结案 */
    @Excel(name = "操作类型 1.案件登记 2.案件分派 3.现场调解 4.现场调解 5.转窗口 6.转窗口确认 7.召回 9.案件结案")
    private Integer operatingType;

    /** 事件ID */
    @Excel(name = "事件ID")
    private Long eventId;

    /** 事件类别 1.非纠纷事项 2.一般纠纷件事项 3.诉前调解件 */
    @Excel(name = "事件类别 1.非纠纷事项 2.一般纠纷件事项 3.诉前调解件")
    private Integer eventCategory;

    /** 意见 */
    @Excel(name = "意见")
    private String opinion;

    /** 需要转窗口的id */
    @Excel(name = "需要转窗口的id")
    private String changeWindowId;

    /** 需要转窗口的名称 */
    @Excel(name = "需要转窗口的名称")
    private String changeWindowName;

    /** 操作人所在窗口 */
    @Excel(name = "操作人所在窗口")
    private String operatingWindowName;

    /** 操作人姓名 */
    @Excel(name = "操作人姓名")
    private String operatingUserName;

    /** 操作人所在组 */
    @Excel(name = "操作人所在组")
    private String operatingUserDept;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatingTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOperatingType(Integer operatingType)
    {
        this.operatingType = operatingType;
    }

    public Integer getOperatingType()
    {
        return operatingType;
    }
    public void setEventId(Long eventId)
    {
        this.eventId = eventId;
    }

    public Long getEventId()
    {
        return eventId;
    }
    public void setEventCategory(Integer eventCategory)
    {
        this.eventCategory = eventCategory;
    }

    public Integer getEventCategory()
    {
        return eventCategory;
    }
    public void setOpinion(String opinion)
    {
        this.opinion = opinion;
    }

    public String getOpinion()
    {
        return opinion;
    }
    public void setChangeWindowId(String changeWindowId)
    {
        this.changeWindowId = changeWindowId;
    }

    public String getChangeWindowId()
    {
        return changeWindowId;
    }
    public void setChangeWindowName(String changeWindowName)
    {
        this.changeWindowName = changeWindowName;
    }

    public String getChangeWindowName()
    {
        return changeWindowName;
    }
    public void setOperatingWindowName(String operatingWindowName)
    {
        this.operatingWindowName = operatingWindowName;
    }

    public String getOperatingWindowName()
    {
        return operatingWindowName;
    }
    public void setOperatingUserName(String operatingUserName)
    {
        this.operatingUserName = operatingUserName;
    }

    public String getOperatingUserName()
    {
        return operatingUserName;
    }
    public void setOperatingUserDept(String operatingUserDept)
    {
        this.operatingUserDept = operatingUserDept;
    }

    public String getOperatingUserDept()
    {
        return operatingUserDept;
    }
    public void setOperatingTime(Date operatingTime)
    {
        this.operatingTime = operatingTime;
    }

    public Date getOperatingTime()
    {
        return operatingTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("operatingType", getOperatingType())
            .append("eventId", getEventId())
            .append("eventCategory", getEventCategory())
            .append("opinion", getOpinion())
            .append("changeWindowId", getChangeWindowId())
            .append("changeWindowName", getChangeWindowName())
            .append("operatingWindowName", getOperatingWindowName())
            .append("operatingUserName", getOperatingUserName())
            .append("operatingUserDept", getOperatingUserDept())
            .append("operatingTime", getOperatingTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
